/*
 * AbsorptionCounter.hh
 *
 *  Created on: 08.05.2011
 *      Author: ed
 */

#ifndef ABSORPTIONCOUNTER_HH_
#define ABSORPTIONCOUNTER_HH_
#include "G4VSensitiveDetector.hh"
#include "globals.hh"
class AbsorptionCounter : public G4VSensitiveDetector
{
public:
	AbsorptionCounter(G4String name);
	virtual ~AbsorptionCounter();
	void Initialize(G4HCofThisEvent*HCE);
	void EndOfEvent(G4HCofThisEvent*HCE);
	G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist);
private:
	G4int ppe;
	G4int wallsAbsorptionCount,aerogelAbsorptionCount;

};

#endif /* ABSORPTIONCOUNTER_HH_ */
